﻿@using ThisIsFirstTest.Models.AccountModel;
@model RegisterNewAccountModel
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <ul data-role="listview" data-inset="true">
        <li data-role="list-divider"></li>
        <li data-role="fieldcontain">
            @Html.LabelFor(m => m.UserName, "User Name : ")
            @Html.TextBoxFor(m => m.UserName)
            @Html.ValidationMessageFor(m => m.UserName)
        </li>
        <li data-role="fieldcontain">
            @Html.LabelFor(m => m.Password, "Password : ")
            @Html.PasswordFor(m => m.Password)
            @Html.ValidationMessageFor(m => m.Password)
        </li>
        <li data-role="fieldcontain">
            @Html.LabelFor(m => m.EmailAddress, "E-mail : ")
            @Html.TextBoxFor(m => m.EmailAddress)
        </li>
        <li data-role="fieldcontain">
            <input type="submit" value="Register" />
        </li>
    </ul>
}
<ul data-role="listview" data-inset="true" data-mini="true" class="ui-bar ui-bar-c">
    <li data-role="list-divider"></li>
    <li><a href="@Url.Action("LogOn")">
        <h4>
            Log On</h4>
        <p>
            If you have a Account, please Logon.</p>
    </a></li>
    <li><a href="">
        <h4>
            Forget Password</h4>
        <p>
            If you forget your password, you can get it back using email.</p>
    </a></li>
</ul>
